<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<html>
  <head>
    <title>Traffobase - Grey</title>
    <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
    <title>Google Maps JavaScript API Example</title>
    <script src="http://maps.google.com/maps?file=api&amp;v=2&amp;key=ABQIAAAAJNPkdjooRlHp5V8ZqAPByhTwM0brOpm-All5BF6PoaKBxRWWERQidskV3Jt__1Zwua7to5gl035OHw"
            type="text/javascript"></script>
    <script type="text/javascript">
    //<![CDATA[

    
   function load() {
    if (GBrowserIsCompatible()) {
        var map = new GMap2(document.getElementById("map"));
        map.setCenter(new GLatLng(document.GetGPSForm.lat1.value, document.GetGPSForm.long1.value), 5);
        map.addControl(new GSmallMapControl());
        map.addControl(new GOverviewMapControl());
        
        var point = new GLatLng(document.GetGPSForm.lat1.value, document.GetGPSForm.long1.value);
        marker = new GMarker(point);
        map.addOverlay(marker);
        GEvent.addListener(marker, "click", function() {
        marker.openInfoWindowHtml("<p>More details</p>");
        });
        var point2 = new GLatLng(document.GetGPSForm.lat2.value, document.GetGPSForm.long2.value);
        marker2 = new GMarker(point2);
        map.addOverlay(marker2);
        GEvent.addListener(marker2, "click", function() {
        marker2.openInfoWindowHtml("<p>More details</p>");
        
        });
    }
  }

    //]]>
    </script>
  </head>
  <body onload="load()" onunload="GUnload()">
    <font face="Arial">
    <h2>Traffobase - Grey</h2>
    <hr>

